[XENBUS] Don't perform normal state-machine transitions and
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 29 Sep 2006 08:14:28 +0000 (09:14 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 29 Sep 2006 08:14:28 +0000 (09:14 +0100)
commit0d6f3d721b166094af7f186914d73237eb523793
tree4e93bbd9e05bc7e27474f73ab792c10e6d702933
parent1c0ee21d44fc1918af15cfa3b56188688e931d41
[XENBUS] Don't perform normal state-machine transitions and
notifications during shutdown. When rootfs goes away this can
cause the system to hang, as we notify userspace etc.
Instead we forcibly reset the state machine back to state Closed
if we are a frontend driver, to get the backend to release
resources. Necessary if we are going to kexec.
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c